﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BW.WMS.BasicData_LC.Dto.Input;
using BW.WMS.BasicData_LC.Dto.OutPut;
using BW.WMS.CodeEnum;
using BW.WMS.LC.Dto.Input;
using Volo.Abp.Application.Services;

namespace BW.WMS.LC
{
    /// <summary>
    /// 出入库接口
    /// </summary>
    public interface ICodeAppService:IApplicationService
    {
        /// <summary>
        /// 入库添加
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public Task<ApiResult<int>> CreateCode(CreateUpdateCodeDtoInput input);

        /// <summary>
        /// 入库列表显示
        /// </summary>
        /// <param name="output"></param>
        /// <returns></returns>
        public Task<ApiPaging<CodeDto>> GetCodeList(CodeDtoOutput output);

        /// <summary>
        /// 入库删除
        /// </summary>
        /// <param name="output"></param>
        /// <returns></returns>
        public Task<ApiResult<int>> DeleteCode(Guid id);
        /// <summary>
        /// 入库修改
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public Task<ApiResult<int>> UpdateCode(CreateUpdateCodeDtoInput input);
    }
}
